package com.lottery.service.pc28.accoutService;

import com.lottery.dto.CallCenter;
import com.lottery.dto.ResultDto;
import com.lottery.entity.RechargeInfo;
import com.lottery.entity.User;
import org.apache.ibatis.annotations.Param;

public interface CallCenterService {

	/**
	 * 模糊分页查询
	 * 
	 * @param callCenter
	 * @return
	 */

	ResultDto<Object> selectCallCenterList(String Dim, String pageNow);

	/**
	 * 修改帐户余额
	 * 
	 * @param account
	 * @return
	 */
	ResultDto<CallCenter> updateUserAccount(RechargeInfo rechargeinfo);

	/**
	 * 修改用户状态
	 * 
	 * @param state
	 * @return
	 */
	ResultDto<CallCenter> updateUserState(CallCenter callCenter);

	/**
	 * 自动获取彩票数量
	 * 
	 * @param recharge
	 * @return
	 */
	public ResultDto<RechargeInfo> getRechargeScalege(RechargeInfo recharge);

	public ResultDto<User> getUserRealName(@Param(value = "userId") int userId);

	/**
	 * 根据彩钻数量获取提现金额
	 * 
	 * @param recharge
	 * @return
	 */
	ResultDto<RechargeInfo> getWithdrawScalege(RechargeInfo recharge);

	/**
	 * 修改帐户余额
	 * 
	 * @param account
	 * @return
	 */
	ResultDto<CallCenter> WithdrawUpdateUserAccount(RechargeInfo rechargeinfo);
}
